package dk.pun.aot.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import dk.pun.aot.shared.character.CharacterData;
import dk.pun.aot.shared.user.UserData;

@RemoteServiceRelativePath("AlphaOmegaToolsService")
public interface AlphaOmegaToolsService extends RemoteService {
	
	UserData getUserData(String userId);
	void updateUserData(UserData userData);
	void deleteUserData(String userId);
	
	CharacterData createCharacterData(String name);
	CharacterData getCharacterData(Long characterKey);
	void updateCharacterData(CharacterData characterData);
	void deleteCharacterData(Long characterKey);
	
	String getMessage();
	void setMessage(String message);
}
